{% if not is_ajax %}<!DOCTYPE html> 
<html> 
    <head> 
    <title>MythMobile</title> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>

    <meta name="viewport" content="width=device-width, initial-scale=1"> 
</head> 
<body> 
{% endif %}
{% block body %}{% endblock %}
{% if not is_ajax %}
</body>
</html>
{% endif %}
